Programmable data readout for an optical sensor

ABSTRACT

Programmable data readout for optical image sensors is disclosed herein. By way of example, vertical skipping and vertical mixing functionality is provided that is responsive to commands, enabling dynamic selectivity and processing of optical sensor data. A data output control system can be incorporated with or coupled to data readout circuitry of an optical sensor. The output control system comprises a vertical skipping engine that can dynamically select a subset of data for output in response to one or more skipping commands, and a vertical mixing engine that can act upon subsets of data in accordance with processing functions called by respective mixing commands. The disclosure provides simplification of selective data readout and processing for image sensors, potentially reducing design, testing, and maintenance overhead, as well as cost and number of integrated circuit components.

BACKGROUND

Optical image sensors are commonly used in a wide array of electronicdevices. These image sensors can vary in size, in features, or intechnology, as well as other characteristics, and can be configured tobe suitable for various electronic applications. Such applications caninclude, for instance, digital cameras, video cameras and camcorders,camera modules for laptop computers, flat-screen monitors or portablehandheld devices (e.g., mobile phones, personal digital assistants(PDAs), . . . ), conspicuous or inconspicuous video surveillanceequipment, and so on. As digital cameras and video cameras become morepopular with the consuming public, demands for additional features andmore powerful electronics tend to drive research and development forimage sensors.

Most image sensors employ charge-coupled device (CCD) or complementarymetal-oxide semiconductor (CMOS) technology. Both technologies capturevisible radiation and convert received radiation into electricalsignals. The CCD technology is an analog device that converts incidentlight information into a voltage one pixel at a time, as the informationis output from the CCD chip. The CMOS technology comprises an activepixel sensor array that receives light energy and complementarycircuitry that converts the light energy into voltage. The voltageoutput can then be displayed on a video display, generally followingimage processing of the voltage information.

For CMOS technology, readout circuitry can be employed to transferinformation from an image sensor to a video display, for instance (or todata storage, or other suitable data processor). In some cases, readoutcircuitry simply directs all data from the image sensor to the videodisplay. In other cases, readout circuitry can selectively direct asubset of the image sensor data to the video display. This canfacilitate fitting image sensor data to a screen size, for instance, oraveraging subsets of data to mitigate image artifacts, or otherexamples. Dedicated hardware can be integrated into a CMOS chip toprovide this selective readout capability.

Although dedicated readout circuitry can provide desirable features fordata readout, it can also add some overhead and complexity. Forinstance, supporting multiple readout functions can involve multiplesuch configurations. This tends to increase design, testing andevaluation overhead. Generally, however, the benefits provided inflexibility can outweigh the overhead costs for certain applications,and selective readout hardware has become increasingly popular foroptical image sensors.

SUMMARY

The following presents a simplified summary in order to provide a basicunderstanding of some aspects described herein. This summary is not anextensive overview of the disclosed subject matter. It is intended toneither identify key nor critical elements of the disclosure nordelineate the scope thereof. Its sole purpose is to present someconcepts in a simplified form as a prelude to the more detaileddescription that is presented later.

Providing for programmable data readout for optical image sensors isdisclosed herein. In one example, programmable vertical skipping isprovided to selectively output subsets of data from an image sensor.Moreover, the skipping is not limited to a single architecture as istypical for hardware skipping implementations. Rather, programmablevertical skipping can be responsive to commands, and can implementdynamic selectivity of data readout from the optical image sensor. Thisresults in much greater simplification of selective data readout,potentially reducing design, testing, and maintenance overhead, as wellas cost of integrated circuit components. Furthermore, it enables muchgreater flexibility in selective data readout, enabling an image sensorto be compatible with a wider array of display devices.

In another example, programmable mixing is provided to selectively mixsubsets of data output from an image sensor. The programmable mixing cancomprise a set of functions for performing mathematical or statisticaloperations on subsets of the data. The operations can include, forinstance, adding or subtracting subsets of data, averaging subsets ofdata, clipping data values, or the like, or a suitable combinationthereof. In addition, selection of functions for operating on subsets ofthe data can be in response to commands, facilitating dynamic andflexible mixing that can be adapted to fit different applications,display devices, or the like.

In yet another example, programmable vertical skipping is provided inconjunction with programmable vertical mixing. Respective sets ofcommands can be configured to facilitate dynamic execution of skippingand mixing functions. A state machine can be employed for storing seriesof such commands. A skipping engine can execute skipping commands andselect subsets of data for output from an image sensor, and a mixingengine can execute mixing commands to perform operations on some or allof the selected subsets of data. Accordingly, the subject disclosureprovides a new paradigm in data transfer capabilities for image sensorsthat can greatly increase a number of data output modes, whilepotentially reducing manufacturing costs, failure costs, design overheadand testing overhead, among other benefits.

The following description and the annexed drawings set forth in detailcertain illustrative aspects of the subject disclosure. These aspectsare indicative, however, of but a few of the various ways in which theprinciples of various disclosed aspects can be employed and thedisclosure is intended to include all such aspects and theirequivalents. Other advantages and novel features will become apparentfrom the following detailed description when considered in conjunctionwith the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a block diagram of a sample system for programmable imagesensor data readout according to disclosed aspects.

FIG. 2 illustrates a block diagram of an example system for dynamic dataprocessing for image sensor output circuitry according to furtheraspects.

FIG. 3 illustrates a block diagram of a sample system that providesdynamic control of skipping and mixing functions for image sensorreadout.

FIG. 4 depicts a diagram of an example command structure forprogrammable vertical skipping functionality according to other aspects.

FIG. 5 illustrates a diagram of an example skipping function forselective output of image sensor data in a particular aspect.

FIG. 6 depicts an example diagram of executed instructions for theexample skipping function of FIG. 5.

FIG. 7 illustrates a diagram of an example command structure forprogrammable mixing functionality according to additional aspects.

FIG. 8 depicts a diagram of an example mixing function operable uponselect subsets of data output from an image sensor.

FIG. 9 illustrates a sample diagram of executed instructions for theexample mixing function of FIG. 8.

FIG. 10 illustrates a diagram of an example of integrated skipping andmixing functionality for image sensor data output according to anaspect.

FIG. 11 depicts a flowchart of an example method providing programmabledata output for an image sensor according to other aspects.

FIG. 12 illustrates a flowchart of a sample method for providing dynamicoutput circuitry for an image sensor according to another aspect.

FIG. 13 depicts a sample operating environment for that can be employedin accordance with various disclosed aspects.

DETAILED DESCRIPTION

The disclosure herein is described with reference to the drawings,wherein like reference numerals are used to refer to like elementsthroughout. In the following description, for purposes of explanation,numerous specific details are set forth in order to provide a thoroughunderstanding of the subject innovation. It may be evident, however,that various disclosed aspects can be practiced without these specificdetails. In other instances, well-known structures and devices are shownin block diagram form in order to facilitate describing the subjectinnovation.

As utilized herein, terms “component,” “system,” and the like areintended to refer to an electronic or computing entity, either hardware,software (e.g., in execution), or firmware. For example, a component canbe one or more semiconductor transistors, an arrangement ofsemiconductor transistors, a circuit, data transfer or integrationcircuitry, an electronic clock, a process running on a processor, aprocessor, an object, a state machine, a computer, etc. By way ofillustration, a circuit, a transistor array electrically connected withthe circuit, or a controller that manages data flow between thetransistor array and the circuit can be a component. Furthermore, anapparatus can comprise one or more components that operate together as asystem. For instance, the apparatus can comprise an arrangement ofelectronic hardware, data transfer circuits, logical control circuits,memory circuits that store processing instructions, and a processingcircuit that implements the processing instructions in a manner suitableto perform an electronic or computing task.

Furthermore, the disclosed subject matter can be implemented as amethod, apparatus, or article of manufacture using typicalmanufacturing, programming or engineering techniques to producehardware, firmware, software, or any suitable combination thereof tocontrol an electronic device to implement the disclosed subject matter.The term “article of manufacture” as used herein is intended toencompass an electronic device, a semiconductor device, a computer, or acomputer program accessible from any computer-readable device, carrier,or media. By way of example, and not limitation, computer-readable mediacan include hardware media, or software media. In addition, the mediacan include storage media, transport media or communication media. Forexample, computer readable hardware media can include but are notlimited to magnetic storage devices (e.g., hard disk, floppy disk,magnetic strips . . . ), optical disks (e.g., compact disk (CD), digitalversatile disk (DVD) . . . ), smart cards, and flash memory devices(e.g., card, stick, key drive . . . ). Computer-readable transport mediacan include a data transfer bus, a signal interface (e.g., a wirelesscommunication interface), or the like. Of course, those skilled in theart will recognize many modifications can be made to this configurationwithout departing from the scope or spirit of the disclosed subjectmatter.

Communication media typically embodies computer-readable instructions,data structures, program modules or other data in a modulated datasignal such as a carrier wave or other transport mechanism, and includesany information delivery media. The term “modulated data signal” means asignal that has one or more of its characteristics set or changed insuch a manner as to encode information in the signal. By way of example,and not limitation, communication media includes wired media such as awired network or direct-wired connection, and wireless media such asacoustic, RF, infrared and other wireless media. Combinations of the anyof the above should also be included within the scope ofcomputer-readable media.

Various aspects disclosed herein provide for selective output andprocessing of data from an image sensor. The image sensor collectsoptical information and converts the optical information into electronicdata (e.g., electronic signals). This electronic data can be read outfrom the image sensor utilizing readout circuitry. One example of suchreadout circuitry can include a set of vertical busses that respectivelytransfer data from respective rows of the image sensor, a horizontal busthat collects and transfers data from the set of vertical buses, anoperational amplifier for scaling voltage of electronic data provided bythe horizontal bus, and an analog to digital converter for convertingscaled voltage data into digital data. It should be appreciated,however, that the subject disclosure is not limited to this example, asfewer or more components can be utilized for the readout circuitry.

Some readout circuitry is configured to process image sensor data,whether digital or analog, in addition to simply outputting or readingthe data from the image sensor. This processing can include, forinstance, selective data output, where data from a subset of rows of theimage sensor is output from the image sensor, and data from other rowsis ignored, discarded or otherwise not provided for image processing anddisplay. Selecting the subset of rows can be accomplished with verticalskipping functions that apply a function which distinguishes some rowsfor outputting data and others for not outputting the data. Verticalskipping can be implemented to match data output from an image sensor toresolution of a digital display, for instance. If the image sensor hasmore photodetector rows than vertical resolution (rows of pixels) of thedisplay device, a subset of the data collected by the photodetector rowsis generally displayed for a given image. By skipping some photodetectorrows and outputting data from a subset of the rows, the image sensordata output can be matched to the vertical resolution of the digitaldisplay.

Additionally, image sensor data processing can include mixing functionsthat apply a function(s) to data otherwise selected for output. Skippingand mixing functionality can be configured to be separate, comprisingskipping without mixing, or mixing without skipping, for instance.However, conventional processing of image sensor data output is donewith dedicated electronic processing hardware having limited or noreconfiguration capability.

In order to support multiple skipping or mixing functions, conventionalsystems tend to provide separate hardware engines for each skipping,mixing, or skipping and mixing function. However, these conventionalsystems are expensive to design, to test and to maintain. For instance,functions implemented in hardware are generally designed separately foreach function, tested separately, and so on. Further, errors in designmight not be identified prior to implementation and hardwaremanufacture, often requiring re-design as well as re-implementation andre-manufacture, imposing substantial costs for such errors.

To alleviate problems with conventional output processing of imagesensor data, the subject disclosure provides for programmable dataprocessing. In one example, a vertical skipping pattern(s) for an imagesensor is provided as a programmable function. In another example, amixing function(s) for the image sensor is provided as a programmablefunction. In yet other disclosed examples, combined skipping and mixingfunctionality is provided as one or more programmable functions.

According to particular aspects of the subject disclosure, a verticalskipping engine is provided that can be coupled with image sensorreadout circuitry, or otherwise to control selective data output fromthe image sensor. More specifically, the vertical skipping engine can beprogrammable and dynamically select subsets of rows for data output inresponse to a skipping command(s). As one specific example, the commandcan specify a number of rows to skip, and a direction for skipping(e.g., up or down, forward or backward, etc.). According to otheraspects, a mixing engine is provided for operating on (e.g., applying afunction to) data output from the image sensor. The mixing engine can beoperable upon a subset of data selected by the vertical skipping engine,or upon all data collected by the image sensor (e.g., where all data isoutput, or otherwise when no skipping is implemented for data output).Further, the mixing engine is responsive to a mixing command(s), whichcan identify a particular mixing function to apply to subsets of theoutput data (e.g., to respective subsets of rows selected for dataoutput). Because the vertical skipping engine and mixing engine areresponsive to commands, a large number of skipping or mixing modes canbe supported by these engines, while greatly mitigating an amount ofhardware required to implement the modes as compared to conventionalimplementations. Accordingly, the subject disclosure can providesubstantial reduction in design overhead, testing overhead, maintenanceoverhead, and error costs, as well as other benefits.

Referring to the drawings, FIG. 1 illustrates a block diagram of anexample system 100 that provides programmable data output for an imagesensor according to one or more aspects of the subject disclosure.System 100 can be employed in conjunction with various image captureequipment, including a camera, camcorder or video camera, micro-camera,and so on. Further, such equipment can be integrated with variouselectronic devices, such as hand held computing devices, mobile phones,portable cameras, computers (e.g., including desktop computers, laptopcomputers, personal digital assistants, . . . ), digital displays, flatpanel displays, consumer electronic devices (e.g., digital wristwatch),hidden or conspicuous surveillance equipment, and so forth.

System 100 can comprise an optical sensor array 102. Optical sensoryarray 102 can include an array of photodetectors, generally arranged inmultiple rows and columns. Optical sensor array 102 can include acharge-coupled device (CCD) image sensor, a complementary metal-oxidesemiconductor (CMOS) image sensor, or any other suitable image sensordevice. Additionally, the array of photodetectors can include anysuitable photodetector technology capable of capturing, receiving,measuring, etc., incident radiant energy (or luminous energy/lightenergy where adapted for human wavelength sensitivities) and convertingthe incident radiant energy into an electric signal (e.g., a voltage, acurrent, a charge, . . . ). Optical sensor array 102, comprising anarray of photodetectors, can therefore generate a set of such electricsignals corresponding to respective incident radiant energy received bya set of photodetectors in the array.

System 100 can further comprise an output control system 104. Outputcontrol system 104 is communicatively connected with (or, e.g., includedas a part of) a readout datapath 106 associated with optical sensorarray 102. For instance, vertical skipping functionality can be part ofa readout function associated with optical sensor array 102, whereasmixing functionality can be a part of a datapath function associatedwith optical sensor array 102. In a particular aspect, readout datapath106 can comprise the readout function and the datapath function, as wellas other hardware or software modules involved in transferring data fromoptical sensor array 102 to external processing devices (e.g., imageprocessing, video processing, video display, image/video data storage,etc.). It is to be appreciated that this arrangement of skipping andmixing functionality can be applied to other disclosed embodiments,where suitable.

In one aspect of the subject disclosure, output control system 104 canbe configured to control the output of data from optical sensor array102. In another aspect, output control system 104 can be configured toreceive data that is output by optical sensor array 102 and filter orprocess the received data for further output. As is described in detailbelow, output control system 104 can be configured to provideprogrammable output and processing of data from optical sensor array102.

Output control system 104 can comprise a processing engine 102 forreceiving commands pertaining to output of data generated by opticalsensor array 102. Commands can be of multiple types; examples of typesof commands include vertical skipping commands and mixing commands.Additionally, processing engine 108 can store skipping commands andmixing commands in queue for further processing (e.g., in a set ofmemory registers; see FIGS. 3, 4 and 7, infra). The commands can beaccessed and executed by a set of data engines configured to control theoutput of a subset of data from optical sensor array 102 or to performlogic operations on the data in response to the commands.

Particularly, the set of data engines can include a vertical skippingengine 110. Skipping engine 110 can be configured to select a subset ofrows of optical sensor array 102 from which data is output from system100. Moreover, the selection can be in accordance with a skippingcommand received by processing engine 108. An individual skippingcommand as well as sets of multiple skipping commands can be configuredor combined to support multiple skipping modes. The configuration andcombination of skipping commands can result in a great deal of power andflexibility for output control system 104 in providing selective outputof optical sensor array data from system 100. Moreover, this power andflexibility can be achieved without added costs and chip space oftenassociated with separate hardware configurations for respective skippingmodes.

Vertical skipping is a useful feature for reading data from opticalsensors. Skipping modes can be utilized, for instance, to match sensorand display components of a camera system provided by differentmanufacturers. As an example, a photodetector array (e.g., opticalsensor array 102) could have a number, x, of rows of photodetectors,whereas a digital display associated with system 100 might have avertical resolution with a smaller number, y, of resolution lines. Tooutput an equivalent amount of vertical data to match the digitaldisplay, fewer than all of the x rows can be output from system 100. Oneway of accomplishing this, is to configure a skipping command(s) toselect a subset of data (e.g., a subset of rows) to be output fromsystem 100, where the subset of data matches the vertical resolution yof the digital display. A more detailed description of example skippingcommands is given at FIGS. 4, 5, and 6, infra.

In addition, the set of data engines can include a vertical mixingengine 112 configured to act upon data output from optical sensory array102 in response to a mixing command. Mixing commands incorporate a setof code primitives configured to call line mixing functions to act uponsuch data. Examples of line mixing functions can include line addition,line subtraction, line averaging, line clipping, and others (e.g., seeFIG. 7, infra). Processing of data can include application of a linemixing function to data output by optical sensor array 102. In at leastone aspect of the subject disclosure, selective output or processing ofdata refers to skipping engine 110 selecting (or filtering) a subset ofrows to be output from optical sensor array 102 and mixing engine 112applying a line mixing function(s) to the subset of rows of data, inresponse to a skipping command or mixing command, respectively, receivedat processing engine 108.

Data selected or processed by output control system 104 can betransmitted on an output bus 114. Output bus 114 delivers the data forsubsequent display processing. Thus, output bus 114 can be connected toan image processor, video processor, etc., of a camera device accordingto various aspects of the subject disclosure. In an alternative, oradditional aspect, output bus 114 can deliver the data to a storagedevice local to system 100 or at a remote position (e.g., on a network,an external hard drive, an external computer, . . . ). Specificconfigurations for skipping and mixing commands, as well as exampleskipping and mixing implementations are described in more detail, infra.

FIG. 2 illustrates a block diagram of an example system 200 thatfacilitates data readout for an optical sensor. System 200 can comprisean optical sensor array 202, electrically connected to a data readoutcircuit 204. Additionally, data readout circuit 204 can becommunicatively connected with an output control system 212. In at leastone aspect of the subject disclosure, output control system 212 can besubstantially similar to output control system 104 of FIG. 1, supra.However, the subject disclosure is not limited to this aspect(s), andoutput control system 212 can have more or fewer features than outputcontrol system 104.

As depicted, optical sensor array 202 can comprise multiple rows ofphotodetectors, each row including a set of photodetectors. These rowsof photodetectors can include row₁, row₂, row₃, . . . , row_(N−1),row_(N) (referred to collectively as row₁-row_(N)), as depicted.Electric signals (also referred to herein generically as data) generatedby respective photodetector rows can be sent to readout circuit 204. Inat least one aspect of the subject disclosure, output control system 212can select and cause all or a subset of the rows of optical sensor array202 to output data to readout circuit 204, and optionally select anorder in which rows output respective data. In another aspect, outputcontrol system 212 can instead receive data from optical sensor array202 that is controlled, for instance, by another entity (e.g., an outputprocessor associated with readout circuit 204—not depicted).

Readout circuit 204 can comprise an output bus 206 for receiving datafrom rows of optical sensor array 202. The rows can output data one rowat a time, generally, although system 200 need not be limited to thischaracteristic, and multiple rows of data can be output concurrentlywhere suitable, in at least one aspect of the subject disclosure. Datareceived by output bus 206 can be forwarded to an output amplifier 208.Output amplifier 208 can scale up (or scale down, where suitable) amagnitude of data sent by output bus 206. Scaled data is sent to ananalog to digital converter (ADC) 208. ADC 208 provides a digitalversion of the amplified data to output control system 212.

Data received from readout circuit 204 can be processed by mixing engine216. As is described in more detail herein, skipping engine 214 canexecute one or more skipping commands received by output control system212. The skipping command(s) can be configured to identify or select asubset of rows of optical sensor array 202 for output from system 200(e.g., see FIGS. 4 and 5, infra). By executing the skipping command(s),skipping engine 214 can cause optical sensor array 202 to output dataonly from the identified/selected subset of rows to readout circuit 204.

Moreover, mixing engine 216 can execute one or more mixing commandsreceived by output control system 212. The mixing command(s) can beconfigured to call line mixing functions to act upon subsets of datareceived by output control system 212. The line mixing functions can bebased on a set of code primitives, providing programmatic control overdata mixing functionality for system 200 (e.g., see FIGS. 7 and 8,infra). Data selected for output by skipping engine 214 or processed bymixing engine 216 can be output from system 200 on an output bus. Theoutput bus can be communicatively connected with an image processingsystem, or video processing system, or the like for digital display.Alternatively, or in addition, the output bus can send data to memory,or another suitable data store.

FIG. 3 illustrates a block diagram of an example data readout system 300for an optical sensor, according to specific aspects of the subjectdisclosure. Data readout system 300 can be communicatively connected toreadout circuitry associated with the optical sensor in some aspects, orcan be integrated within the readout circuitry in other aspects. Datareadout system 300 can comprise an output control system 302 configuredfor reading data (or selectively extracting data, in some disclosedaspects) from the optical sensor. Output control system 302 can comprisea processing engine 304 configured for receiving commands (e.g., mixingcommands) pertaining to the data generated by the optical sensor.Further, output control system 302 can comprise a set of data enginesconfigured to control the output of a subset of the data, or to performlogic operations on the data, in response to commands.

Commands can be received by a command interface 310. The commands can betransmitted by a state machine or other internal or external controllerconfigured to automate selective output and processing of data from theoptical sensor, or facilitate manual output and processing of the data(e.g., see FIG. 13, infra). These commands can be stored in a set ofregisters 312. As an example, respective instruction primitives andinstruction values associated with the commands can be stored inassociated registers 312 at register addresses assigned to therespective instruction primitives and values. In at least one aspect ofthe subject disclosure, command interface 310 can be a serial toparallel interface (SPI) configured to serialize and store or queue theinstruction primitives and values within registers 312. Commandinterface 310 can sequentially output the instruction primitives andinstruction values to processing engine 304 or a skipping engine 306 forselective output and processing, as described herein.

Instruction primitives and instruction values can be specific todifferent types of commands. For skipping commands, registers 312 canstore an activation instruction (e.g., at a first register address)having an active value and an inactive value, a direction instructionassociated with a forward value and a reverse value (e.g., at a secondregister address), and a value identifying a number of rows for skipping(e.g., at a third register address)—also referred to as a skippingnumber.

Examples of functionality for respective instruction primitives aredescribed below. It should be appreciated that other suitable examplescan be used alternatively, or in addition to those described, as isknown in the art or made known to one of ordinary skill in the art byway of the context provided herein. The activation instruction can causea skipping engine 306 to execute an associated skipping command inresponse to the skipping command containing the active value (of theactivation instruction). Conversely, the activation instruction cancause skipping engine 306 to ignore the skipping command in response tothe skipping command containing the inactive value. The directioninstruction can cause skipping engine 306 to skip forward a number ofrows identified by the skipping number in response to the skippingcommand containing the forward value, or cause skipping engine 306 toskip backward the number of rows in response to the skipping commandcontaining the reverse value. These instructions and values providesignificant flexibility in tailoring a set of skipping commands toselecting a particular subset of rows for data output (e.g., outputting1 of every 3 rows, outputting 1 of every 3 rows for a certain number ofrows, then outputting every row for another number of rows, andreturning to outputting 1 of every 3 rows for the remainder of rows, orsome other suitable example).

For mixing commands, registers 312 can store values identifying linemixing functions as well as line numbers on which the line mixingfunctions are to operate. These values are read by mixing engine 308 andexecuted. As utilized herein, a line number can be identical to a rownumber of an optical sensor, in one example. In another example, a linenumber can be one of a sequence of numbers applied only to rows selectedand output by skipping engine 306. In operation, a set of line mixingfunctions can be stored in memory 316 based on suitable code primitives.Line mixing commands can include reference values (stored in registers312 at suitable addresses thereof) that identify respective ones of theline mixing functions. Additionally, the line mixing commands caninclude a goto target value that identifies a line of data (or lines ofdata) for the line mixing function to act upon (stored at otheraddresses of registers 312). As an alternative, a line mixing commandcan comprise a command value that identifies a code primitive forcalling (e.g., executing) one of the line mixing functions stored inmemory 316. The line mixing function can be executed upon the line ofdata identified by the goto target value. In either case, utilizing thereference value or command value and goto target value for a particularmixing command, mixing engine 308 can call the appropriate line mixingfunction and execute it upon the applicable line(s) of data.

According to one particular aspect of the subject disclosure, outputcontrol system 302 can receive a set of skipping and mixing commands atcommand interface 310, and queue the commands in registers 312. Skippingengine 306 can access skipping commands from registers 312, and executeskipping command instructions identifying a row(s) to be output from anoptical array (or rows received from the optical array to be output bysystem 300). Data selected by a processed skipping instruction can bereceived at input/output interface 314, stored in memory 316, andassociated with a line number (e.g., based on a row number, or an outputnumber, or the like). Mixing engine 308 accesses a line mixingcommand(s) stored in registers 312 and executes one or more line mixingfunctions on specified line(s) of data stored in memory 316. Results ofthe line mixing functions can be provided to input/output interface 314for transfer to image processing, video processing, data storage, or thelike. In one instance, results of the line mixing functions can be savedto memory 316 by mixing engine 308, and these results can be accessed asprocessed data output by input/output interface 314, and sent out asprocessed data output. This is the instance depicted by FIG. 3. Inanother instance, mixing engine can send results of the line mixingfunctions directly to input/output interface 314 for sending out asprocessed data output, without using memory 316 as an intermediary.

According to particular aspects, programmatic protocols can establishhow skipping engine 306 or mixing engine 308 progress from one commandto a subsequent command. In some aspects of the subject disclosure,subsequent commands can be tied to the value of the activationinstruction. In alternative or additional aspects, a subsequent commandcan be pointed to or implied by a previous command. As a particularexample, skipping engine 306 can be configured to return to and processa previous skipping command (e.g., the first skipping command in asequence of such commands, a prior skipping command, etc.) in responseto the skipping command containing the inactive value. Alternatively, orin addition, skipping engine 306 can be configured to proceed to asubsequent skipping command in a sequence of such commands in responseto the skipping command containing the active value (e.g., where thesequence of commands is queued within registers 312, stored in memory316, or the like). The protocol can continue a suitable logicalprogression of command execution until, for instance, all rows of anoptical display are read out or processed. Thus, a relatively small setof skipping or mixing commands—which may each relate to only a singlerow/line or some other subset of the total number of rows/lines—can beutilized to output or process data from a much larger number ofrows/lines. This can be accomplished by re-executing a set of commandsuntil all rows are processed, progressing sequentially from one commandto another as specified or implied by a current command (e.g., see FIGS.5 and 8, infra).

FIG. 4 illustrates a block diagram of an example skipping command format400 according to one or more particular aspects of the subjectdisclosure. Skipping command format 400 can comprise a command format402 and bit format 404. Command format 402 is controlled by a set ofvertical skipping nanocode commands (e.g., six skipping nanocodecommands in at least one disclosed aspect), which can be stored in threeregisters (e.g., see registers 312 of FIG. 3, supra). Command format 402associates a register address and bit sequences with respective verticalskipping nanocode commands. Note that in the depicted example, eachregister address is 16 bits long (containing bits 0 through 15), andtherefore can hold two commands per register address concurrently. Forinstance, a lower order command can occupy a first set of 8 bits in a 16bit word (e.g., the first command in the word), whereas a high ordercommand can occupy the second set of 8 bits in the 16 bit word (e.g.,the second command in the word). Other register address bit sizes areconsidered within the scope of the subject disclosure, however, capableof holding more or fewer commands concurrently. Moreover, more or fewerregisters are within the scope of the subject disclosure, as well.

For the example of skipping command format 402, respective addressregisters can store two command primitives concurrently. Registeraddress VCLEAR_SKIP01_SPI (0x0e4) can store skip command 0 in its first8 bits, Bits [7:0] and store skip command 1 in its second 8 bits, Bits[15:18]. Likewise, register address VCLEAR_SKIP01_SPI (0x0e5) can storea third skip command, skip command 2, in its corresponding first 8 bits[7:0], and store skip command 3 in its second 8 bits [15:18]. Finally,register address VCLEAR_SKIP45_API (0x0e6) stores a fifth skip command,skip command 4, in bits [7:0] and stores skip command 5 in bits [15:18].

Bit format 404 identifies respective functions associated withrespective bits of a command in the above stated example. As isdepicted, each command comprises eight bits 0-7 (though these bits mightbe stored in bits 0-7 or 8-15 of an associated register address 402).Bit 7 is associated with an activation instruction for a given skipcommand. The activation instruction is associated with an active value,and an inactive value. According to particular aspects of the subjectdisclosure, the active value implies that the skip command should beprocessed and executed, and that a command having a subsequent sequencenumber is to be processed next (e.g., process skip command 1 next if thecurrent command is skip command 0, etc.). Bit 6 is associated with adirection instruction, having a forward value and a reverse value. Theforward value indicates whether to skip forward from a current row, orto skip backward from a current row, when selecting a next row foroutput from an optical array. Bits 0-5 are associated with a number ofrows to be skipped, according to the direction instruction, to selectthe next row for output. Note that in this example, 6 bits are reservedfor identifying the number of rows for skipping, facilitating arelatively large range of rows (e.g., up to 2⁶−1, or 63) that can beskipped with a single command.

The active/inactive, direction and number of row fields representrespective command instructions for bit format 404. Values of theserespective command instructions (e.g., 0 or 1 for active/inactiverespectively, 0 or 1 for forward or reverse direction, 0 to 63 fornumber of rows) represent respective instruction values for respectivecommands. Thus, each command of command format 402 (e.g., skip command0, skip command 1, . . . ) can have the active/inactive, direction andnumber of row command instructions, with respective instruction valuesassociated there with. The commands are stored in associated registeraddresses identified by command format 402, and can be executedsequentially by a skipping engine, as described herein. FIGS. 5 and 6,infra, give a specific example of a set of skipping commands and howthose skipping commands select a subset of rows for output from anoptical sensor.

FIG. 5 illustrates a diagram of an example series of skipping commands500 according to a particular aspect(s) of the subject disclosure.Series of skipping commands 500 is arranged in a skipping command table502 for illustrative purposes. Series of skipping commands 500 areconfigured to provide a 2-to-1 vertical skipping pattern depicted atFIG. 6, infra.

Skipping command table 502 is formatted to include three generalcolumns; the general columns include skip command instructions 504, skipcommand identifier 506 and serial to parallel interface (SPI) writes508. Skip command instructions 504 is broken into respective commandinstructions, including active column 510, direction column 512 andnumber of rows column 514. These columns match the names of the commandinstructions for the skipping command configuration of FIG. 4, supra.Active column 510 indicates the state of the active/inactive commandinstruction for respective skipping commands, indicated by theinstruction value (e.g., 0 for inactive; 1 for active) of respectiveskipping commands. The skip command identifier 506 is an identifier fordistinguishing respective skipping commands in series of skippingcommands 500. SPI writes 508 includes columns for register address 516and register data 518, respectively.

The first skipping command is associated with skip command identifier 0.As indicated under skip command functions column 504, skip command 0 isactive (having instruction value of 1 for active/inactive commandinstruction), forward skipping direction (having instruction value of 0)and number of rows 1. Thus, skip command 0 causes a skipping engine tomove to the next row (e.g., from row 0 to row 1, etc.) and output datafrom that next row. Skip command 1 is active, forward skippingdirection, and skipping three rows. Thus, skip command 1 causes theskipping engine to proceed from the next row (e.g., row 1) to three rowsbeyond the next row (e.g., row 4), and output data from that third rowbeyond the next row. Skip command 2 is inactive (having instructionvalue of 0 for active column 510). According to some programmingprotocols disclosed herein, an inactive command can cause the skippingengine to ignore the current command, skip command 2, and return to afirst command in a series of skipping commands. For series of skippingcommands 500, the first command is skip command 0. Thus, no data isoutput upon executing skip command 2. Skip command 0 causes the skippingengine to move to a subsequent row from the current row (e.g., from row4 to row 5) and output data from the subsequent row. Specific dataoutput according to series of skipping commands 500 is provided by FIG.6, infra.

FIG. 6 depicts a diagram of an example row output 600 for an opticalsensor according to series of skipping commands 500 of FIG. 5, supra.Row output 600 comprises an instruction block 602 describing the rowoutput activity for each row of photodetectors for an optical sensor(e.g., see FIG. 2, supra). Row output 600 further comprises a graphicaldepiction 604 illustrating rows of photodetectors outputting data, androws of photodetectors not outputting data, according to series ofskipping commands 500.

Skip command 0 is executed in conjunction with row 0. Skip command 0 isactive causing a skipping engine to output data from row 0. The skipdirection is forward and number of rows value is one for skip command 0,so the skipping engine advances to row 1 and executes the next command(e.g., skip command 1). Row 1 coincides with skip command 1. Skipcommand 1 is active causing the skipping engine to output data for row1. Skip command 1 causes the skipping engine to jump forward three rows,to row 4. Thus, as depicted in graphical depiction 604, row 0 is output,row 1 is output, but rows 2 and 3 are not output. At row 4, skip command2 is executed. Because skip command 2 is inactive, the skipping engineignores skip command 2 and returns to skip command 0, which is activecausing the skipping engine to output data of row 4, and skip to row 5.Skip command 1 is executed for row 5, causing the skipping engine tooutput data for row 5, and then skip three rows to row eight, and so on.As is clear form graphical depiction 604, series of skipping commands500 cause two rows to be output, two to be skipped, two more to beoutput, two to be skipped, and so on.

Row output 600 is an example of a simple 2-to-1 vertical skippingconfiguration. As described, this 2-to-1 vertical skipping configurationcan be performed with a series of three skipping commands.Conventionally, such a 2-to-1 vertical skipping arrangement can be donewith hardware configured (generally permanently) to execute those samethree commands. However, the hardware configuration would be limited inthe number of modes it can support (generally just one). Thus, otherskipping modes (e.g., a 3-to-1 vertical skipping arrangement, a 1-to-1vertical skipping arrangement, etc.) and mixing modes (e.g., see FIGS.7-9, infra) would generally require additional hardware modules for eachadditional mode.

In contrast to hardware skipping or mixing applications, output controlsystem 104, output control system 212, data readout system 300, and soon, are programmable and thus not limited to a single skipping or mixingmode. These systems can implement a very large number of skipping ormixing modes simply by receiving and executing suitable series ofcommands. In one instance, these commands can be fixed for a givenelectronic device (e.g., where the commands match an optical sensor tothe needs of a digital display of that electronic device). In otheraspects, these commands can be at least in part re-programmable for thatelectronic device, through a suitable interface (e.g., a user commandinterface such as depicted in FIG. 13, infra, including user input 1336,external input 1340 or remote device(s) 1342). Programmableinstallations can make many error corrections simpler and less costly,particularly where a different series of commands can correct an error,rather than generating new hardware to do the same. Thus, the variousaspects of the subject disclosure can provide for significantimprovements in flexibility, reduction in overhead costs, and evencompatibility with various devices before or after manufacture, whichgenerally cannot be achieved with conventional implementations.

FIG. 7 illustrates a diagram of an example mixing code configuration 700according to additional aspects of the subject disclosure. Mixing codeconfiguration 700 includes a register address table 702 as well as acommand format 704. Register address table 702 provides an exampleaddressing mechanism to queue sets of mixing commands to be executed bya suitable mixing engine (e.g., see FIG. 3, supra). Command format 704depicts an example logical association between command bits andinstruction primitives for mixing code configuration 700. It should beappreciated that other suitable logical associations and addressingmechanisms are considered to be within the scope of the subjectdisclosure.

Register address table 702 includes four addresses having sixteen bitseach. Each address can hold two eight-bit mixing commands. As depicted,address 0x0a3 can hold mixing command 0 and mixing command 1. Address0x0a5 holds mixing command 2 and mixing command 3. Likewise, address0x0a5 holds mixing command 4 and mixing command 5. Address 0x0a6 holdsmixing command 6 and mixing command 7.

Command format 704 provides the logical association between instructionprimitives (or mixing functions) and subsets of bits of respectivecommands. As depicted, command format 704 comprises two mixingfunctions, a goto target value, and a command value. The goto targetvalue specifies a line or set of lines that are targeted by a mixingcommand. The command value identifies and calls a particular line mixingfunction to act upon data contained in the line or set of lines. Thus,the mixing command identifies lines of data and an function to processthat data. Examples of such line mixing functions, including respectivedescriptions and example instruction values for calling respectivemixing functions are listed below. Note that this is not intended to bean exhaustive list, merely one set of suitable mixing commands that canbe supplemented or replaced, in part or in whole, but other suitablemixing commands.

An example set of mixing commands can include a MIX_NOP command. TheMIX_NOP command involves no operation. Thus, no action upon data istaken in response to the MIX_NOP command. An example command value forthe MIX_NOP command can be 0, 10, or 20, for instance. Another examplemixing command is the MIX_ZERO_MEM command, which writes a value of zeroto memory. This command can have a value of 1, 11, 21, or the like. Anadditional command can be a MIX_WRITE_TO_MEM command. This commandwrites pixel data from a current line (or row) into memory (e.g., memory316 of FIG. 3). In at least one aspect, this command can be configuredto overwrite existing line/row pixel data (at least for a currentline/row) held in memory. The MIX_WRITE_TO_MEM command can have aninstruction value of 3, 13, 23, . . . , in this example.

In addition to the foregoing, the example set of mixing commands caninclude a MIX_READ_ADD_SEND_DIV3 command. This command can generate a3-to-1 mixing pattern. Particularly, this command adds current line/rowpixel data to line/row pixel data already held in memory, to obtain aline/row pixel data sum. The line/row pixel data sum is then divided bythree to obtain a line/row pixel data average. This line/row pixel dataaverage is then output for further processing (e.g., video processing,image processing, etc.). Generally, the MIX_READ_ADD_SEND_DIV3 commandis preceded by two other mixing commands to acquire an average of threelines/rows. Particularly, the command can be preceded by theMIX_WRITE_TO_MEM command, to write a first line/row of pixel data tomemory, then by the MIX_ADD_TO_MEM command, to add a second line/row ofpixel data to the first, and then the MIX_READ_ADD_SEND_DIV3 command isprovided to add a third line/row of pixel data to the previous two, readthe result of the addition, divide by three to get the average, andoutput the average.

Similar to the previous command, the set of mixing commands can includea MIX_READ_ADD_DIV2 command. This command adds the current line/row ofpixel data to that already in memory, reads out the product of theaddition, and divides the product by two to obtain the average of twolines/rows of pixel data. This average is then output for furtherprocessing. This command is generally preceded by a MIX_WRITE_TO_MEMcommand.

MIX_OVERLAP is another example mixing command. This command adds thecurrent line/row of pixel data to the existing line/row of pixel datastored in memory. The product of the addition is divided by two toacquire an average of two lines/rows of pixel data, and the average issent out. In addition, the current line/row of pixel data is thenwritten to memory (overwriting the previous line/row of pixel datastored in memory). The MIX_OVERLAP command can be useful in averagingrow data of successive rows to mitigate noise, for instance. As anexample, consider rows 10, 11, 12 and 13 of an optical sensor. One wayto provide noise mitigation is to output an average of rows 10 and 11,of rows 11 and 12, of rows 12 and 13, and so on. The MIX_OVERLAP commandcan facilitate this functionality with a minimum number of mixingcommands. A MIX_WRITE_TO_MEM command can write row 10 to memory, and aMIX_OVERLAP command then adds row 11 to row 10 in memory, takes theaverage, sends out the average, and then overwrites row 10 with row 11in memory. A subsequent MIX_OVERLAP command adds row 12 to row 11,obtains and outputs the average, and overwrites row 11 in memory withrow 12. A further MIX_OVERLAP command adds row 13 to row 12, takes andoutputs an average of rows 12 and 13, and overwrites row 12 in memorywith row 13, and so on.

Another example mixing command includes a MIX_WRITE_PASSTHROUGH command.This command writes a current line/row of pixel data to memory(overwriting any previous pixel data) and outputs the current line/rowof pixel data. In other words, this command both writes and outputs acurrent line of data. A MIX_ADD_CLIP command adds pixel data from acurrent line to data stored in memory, clips the sum if greater than adefined value (e.g., where the defined value is stored in memory), andoutputs a result thereof. Clipped data (data that is greater than thedefined value) is output as the defined value instead. The MIX_ADD_CLIPcommand does not write the current pixel data to memory. This commandtherefore is similar to MIX_ADD_TO_MEM, except that it caps the sum to amaximum value (the defined value).

The example set of mixing commands can be configured to match commandformat 704 and register address table 702 of FIG. 7. Thus, bits 5-7 ofcommand format 704 can identify one or more lines of data, and bits 0-4identify one of the above mixing commands to operate on the identifiedlines of data. The eight mixing commands can be stored in four registersat addresses identified by register address table 702.

As previously mentioned, the above example mixing commands are not anexhaustive list. Yet, it can be readily deduced that differentcombinations of these mixing commands—optionally in conjunction with oneor more vertical skipping commands—provide great flexibility inselecting and processing data from an optical sensor. Examples ofdifferent skipping/mixing combinations that can be achieved include1-of-2 skipping (skipping every other row), 2-line mixing with noskipping, 2-line duplex mixing with no skipping, 1-of-3 skipping, 1-of-3duplex skipping, 2-of-3 skipping with 2-line mixing, 3-line mixing withno skipping, 1-of-4 skipping, 2-of-4 skipping with 2-line mixing, 2-of-4skipping with 2-line duplex missing, 3-of-4 skipping with 3-line mixing,1-of-5 skipping, 2-of-5 skipping with 2-line mixing, 3-of-5 skippingwith 3-line mixing, 1-of-6 skipping, 2-of-6 skipping with 2-line mixing,3-of-6 skipping with 3-line mixing, 1-of-7 skipping, 2-of-7 skippingwith 2-line mixing, 3-of-7 skipping with 3-line mixing, as well asvarious other skipping or mixing combinations.

FIG. 8 illustrates a diagram of an example set of mixing commands 800that facilitate a 2-to-1 non-overlapping mixing mode, according to aparticular aspect of the subject disclosure. The mixing mode isillustrated by a table having an action column 802, describing activityperformed by respective commands of the set, a mixing command numbercolumn 804 to distinguish respective mixing commands, and an SPI writescolumn 806. Action column 806 has three sub-columns, including commandname column 808, goto target value column 810, and command value column812. Command value column 812 includes a value identifying one of theabove example mixing commands. The identifiers are as follows:MIX_NOP=0, MIX_ZERO_MEM=1, MIX_WRITE_TO_MEM=2, MIX_ADD_TO_MEM=3,MIX_READ_ADD_SEND_DIV3=4, MIX_READ_ADD_SEND_DIV2=5, MIX_OVERLAP=6,MIX_WRITE_AND_PASSTHROUGH=6, and MIX_ADD_AND_CLIP=7.

Mix command number 0 is a MIX_WRITE_TO_MEM command. It has a goto targetvalue of 7 and command value of 2, which is associated with the write tomemory command. According to one alternative, or additional aspect ofthe subject disclosure, the goto target value of “7” can be defined asan “advance to the next line” command, rather than advance to the lineidentified by the goto target value (e.g., line 7 in this case). Thus, amixing engine executing this command will write pixel data for a currentline to memory, and will proceed to the next line number in response tothe goto value of 7. As indicated by register address column 814, mixcommand number 0 is stored at bits 0 to 7 of register 0x0a3. Registerdata column 816 indicates the binary data associated with this commandas well as the address where this data is stored. Mix command number 1is also a MIX_WRITE_TO_MEM command, with a goto target value of 7, andcommand value of 2 that calls the WRITE_TO_MEM function. This command isstored in bits 8 to 15 of register 0x0a3, having register data similarto mix command number 0. Mix command number 2 is aMIX_READ_ADD_SEND_DIV2 command having goto target value of 7 and commandvalue of 5. As indicated above, the command value of 5 calls theREAD_ADD_SEND_DIV2 function. This command is stored in bits 0 to 7 ofregister address 0x0a4. Mix command number 3 is a MIX_READ_ADD_SEND_DIV2command having goto target value of 0, and command value of 5, callingthe READ_ADD_SEND_DIV2 function. This command is stored in bits 8 to 15of register address 0x0a4 having the listed register data. Execution ofset of mixing commands 800 on an example set of image sensor lines isdescribed below at FIG. 9.

FIG. 9 depicts a diagram of an example row output 900 for a subset ofoptical sensor rows according to set of mixing commands 800 of FIG. 8,supra. Row output 900 includes a command description 902 applied torespective rows of the subset of rows. In addition, row output 900includes a graphical depiction 904 of a subset of optical sensor rowsprocessed in accordance with the set of mixing commands 800. The subsetof optical sensor rows comprises pixels that are sensitive to twodifferent color schemes, in alternating rows. Even pixel rows 0, 2, 4,6, and so on, are red pixel lines that include red and green pixels(denoted R and GR pixels, respectively) sensitive to a first set ofcolors (e.g., red and green). Odd pixel rows 1, 3, 5, 7, . . . , areblue pixel lines that include green and blue pixels (denoted GB and Bpixels, respectively) sensitive to a second set of colors (e.g., greenand blue), as depicted. As described below, set of mixing commands 800is configured to average pixel data from selected rows of like colorschemes, and output results of the averaging.

A mixing engine (e.g., mixing engine 308 of FIG. 3, supra) can beconfigured to access and execute respective commands of set of mixingcommands 800. The mixing engine starts with mixing command 0 applied torow 0. As shown by command description 902, mixing command 0 causes themixing engine to call a write data to memory function, thereby writingpixel data from row 0 to memory. Note that the mixing engine can beconfigured to act upon pixel rows associated with different colorschemes separately. Thus, in at least one aspect of the subjectdisclosure, separate memory registers can be provided for storing pixeldata associated with different color schemes. Through proper commandconfiguration then, command functions can be operated on one set ofcolor scheme data independently from another set of color scheme data,as will be evident from command description 902. Accordingly, the mixingengine can save pixel data for row 0 into a blue-green memory register,maintained separately from green-red memory registers. Because gototarget value of mixing command 0 is 7, the mixing engine proceeds to thenext row, row 1 and executes mixing command 1.

Mixing command 1 has a command value of 2 that calls a write data tomemory function. Because row 1 is a green-blue color scheme, the mixingengine can be configured to write pixel data from row 1 to a separateportion of memory associated with the green-blue color scheme, and thuswriting row 1 to memory will not erase pixel data from row 2 stored in ared-green portion of the memory. Mixing command 1 has a goto targetvalue of 7, causing the mixing engine to proceed to row 2 and executemixing command 2.

Following command description 902, the mixing engine identifies acommand value of 5 and calls the read, add, send and divide-by-2function associated with this command value. In response, pixel datafrom row 2 is read, added to the pixel data in the red-green portion ofthe memory (from row 0), the sum divided by two, and the result sentout. This is the upper red-green pixel row on the right side ofgraphical depiction 904, derived from rows 0 and 2. Mixing command 2 hasa goto target value of 7, causing the mixing engine to proceed to thenext row and execute the next mixing command in set of mixing commands800.

At row 3, the mixing engine executes mixing command 3. This command hasa command value of 5, calling the read, add, send and divide-by-2function. Because row 3 is a green-blue color scheme, pixel data fromfor 3 is read, added to existing pixel data in the green-blue portion ofthe memory (pixel data from row 1), averaged, and sent out. As shown onthe right hand side of graphical depiction 904, this is the upper row ofgreen-blue pixel data derived from rows 1 and 3. Mixing command 3 has agoto target value of 0, causing the mixing engine to return to mixingcommand 0 after executing mixing command 3. Thus, row 4 is processedaccording to mixing command 0.

Following command description 902, the mixing engine re-executes mixingcommand 0 with respect to row 4, and writes pixel data from row 4 to thered-green portion of the memory (overwriting previous data written tothe red-green portion of the memory). Mixing command 1 is executed withrespect to row 5, and pixel data from row 5 is written to the green-blueportion of the memory (also overwriting the green-blue portion of thememory). Next, mixing command 2 is executed for row 6, adding pixel datafrom row 6 to that stored in the red-green portion of the memory (fromrow 4), dividing by 2 and sending it out. This is shown in the lowerright hand side of graphical depiction 904, as the red-green row derivedfrom rows 4 and 6. Mixing command 3 is executed with regard to row 7,adding pixel data from row 7 to the existing data stored in thegreen-blue portion of the memory (for row 5), averaging the sum andsending out the average. This is shown in the lower right hand portionof graphical depiction 904 as the green-blue pixel data derived fromrows 5 and 7. Moreover, mixing commands 0 through 3 can be repeated, asdescribed above, for each set of four rows (e.g., rows 8-11, rows 12-15,and so on) until every row of a given frame is processed.

Thus, FIGS. 8 and 9 accomplish a relatively complicated mixing mode.Particularly, the averaging and readout of every other row associatedwith a particular color scheme, for an optical sensor having two colorschemes. Moreover, it is anticipated that those of ordinary skill in theart could foresee other examples for programmatic readout and processingof optical sensor data based on the context provided herein (e.g.,optical sensor with three color schemes, with one color scheme,averaging every third row, or the like, or suitable combinationsthereof). These examples are considered part of the subject disclosure.Moreover, based on these programmatic protocols, various readout andprocessing modes can be implemented without dedicated hardware for eachmode or set of related modes, significantly reducing cost, overhead andtime associated with optical sensor readout devices. This providessignificant advantages over conventional readout systems.

FIG. 10 depicts a diagram of an example data readout 1000 for a combinedskipping and mixing mode, according to further disclosed aspects. Datareadout 1000 illustrates application of a combined vertical 2-of-3skipping mode and 2-line mixing mode on an optical sensor. In addition,the optical sensor has two color schemes with green-red pixels andblue-green pixels in alternating rows of the optical sensor. The pixeldata output in response to the 2-of-3 skipping and 2-line mixing issegmented into two interlaced fields.

Interlaced fields can be accomplished according to multipleimplementations. One example includes interlacing by color. Interlacingby color can be implemented, in a first instance, where a mixing engineis configured to segregate even lines from odd lines. In this instance awrite to memory function will write even lines to a first memory bank,and odd lines to a second memory bank, thereby segregating the even andodd lines. In a second instance, memory bank-specific versions of mixingcommands can be provided. As an illustration, MIX_WRITE_TO_MEM_B0 can beconfigured to write a line of data to an even memory bank, whereasMIX_WRITE_TO_(—MEM)_B1 can be configured to write a line of data to anodd memory bank. A similar configuration can be provided for othermixing commands disclosed herein, or known in the art. Without the B0 orB1 suffix on the mixing command, a mixing engine can be configured tochoose a bank based on even number or odd number lines. In at least oneaspect, this configuration can be disabled, causing the mixing engine towrite all line data to a common memory bank instead. This latter aspectcan be referred to as monochrome mode, which might be used forblack-and-white image/video functionality.

Data readout 1000 illustrates a set of sensor rows 1002 of an opticalsensor having a two color scheme. Set of sensor rows 1002 is arrangedstarting from the top of the figure at row 1 through row N at the bottomof the figure. The two color schemes occupy alternating rows of pixels,with green-red pixels in odd numbered rows (e.g., rows 1, 3, 5, 7, . . .) and blue-green pixels in even numbered rows (e.g., rows 2, 4, 6, 8, .. . ).

Output function 1004 describes actions performed by skipping and mixingfunctionality on respective subsets of set of sensor rows 1002. Theseactions generate processed pixel data for interlaced field #1 1006 andprocessed pixel data for interlaced field #2 1008. Note that pixel rowsof different color schemes are processed independently in data readout1000. Further, pre-processed data in set of sensor rows 1002 isindicated by the GR, R, GR, pixels in green-red pixel rows, or B, GB, B,. . . , pixels in blue-green pixel rows, respectively. Post-processeddata in interlaced field #1 1006 and interlaced field #2 1008 isindicated by GR′, R′, GR′, in green-red pixel rows and indicated by B′,GB′, B′, . . . , in blue-green pixels, respectively.

Following output function 1004, the 2-of-3 skipping and 2-line mixingstarts by averaging row 1 and row 3, both green-red color scheme rows,and outputting an average of these rows to interlaced field #1 1006. Row3 and row 5 are also green-red color scheme rows, and are averaged andoutput to interlaced field #2 1008. Next, row 4 and row 6, blue-greencolor scheme rows, are averaged and output to interlaced field #1 1006,whereas row 6 and row 8, also blue-green color scheme rows, are averagedand output to interlaced field #2 1008. This 2-of-3 skipping and 2-linemixing continues for all rows of the set of sensor rows 1002, up throughrow N-1 and row N. The final row output includes an average of row N-2and row N, which is provided for interlaced field #2 1008. Note thatsome rows, such as row 2, may not be utilized to derive output data foreither interlaced field #1 1006 or interlaced field #2 1008.

FIG. 10 provides a relatively complicated but realistic example of acombined skipping and mixing function for an optical sensor. A set ofprogrammatic commands could be constructed to implement this 2-of-3vertical skipping and 2-line mixing functionality, for instance based onthe command primitives disclosed herein. When performed programmaticallyvia a system configured to implement skipping and mixing in response tocommands, rather than with dedicated analytic hardware, significantadvantages can be realized. First, such a system can support a widerange of modes with a common hardware/software implementation. Thistends to increase a number of modes that can be supported for a givendesign cost and manufacture cost. Moreover, testing, troubleshooting anderror correction tend to become simpler and more cost effective, as newhardware generally will not be needed to remedy design or implementationerrors. These advantages can potentially revolutionize optical sensordata readout, providing improved flexibility, lower cost, and even fieldprogrammable configuration in some instances. Accordingly, the subjectdisclosure provides significant advantages over conventional mechanisms.

The aforementioned diagrams have been described with respect tointeraction between several systems, apparatuses, components, electroniccircuits, or optoelectronic devices. It should be appreciated that suchdiagrams can include those components or systems specified therein, someof the specified components, or additional components. For example, asystem could include optical sensor array 202, readout circuit 204 andoutput control system 302, in conjunction with memory 316.Sub-components could also be implemented as architectures electricallyconnected to other sub-components rather than included within a parentarchitecture. Additionally, it should be noted that two or morecomponents could be combined into a single component providing aggregatefunctionality. For instance, command interface 310 can includeinput/output interface 314 to facilitate receiving data readout commandsand receiving and outputting sensor data by way of a single component.Components of the disclosed systems and apparatuses can also interactwith one or more other components not specifically described herein butknown by those of skill in the art, or made known to one of skill in theart by way of the context provided herein.

In view of the exemplary diagrams described supra, process methods thatmay be implemented in accordance with the disclosed subject matter willbe better appreciated with reference to the flow charts of FIGS. 11-12.While for purposes of simplicity of explanation, the methods are shownand described as a series of blocks, it is to be understood andappreciated that the disclosed subject matter is not limited by theorder of the blocks, as some blocks may occur in different orders and/orconcurrently with other blocks from what is depicted and describedherein. Moreover, not all illustrated blocks may be required toimplement the methods described hereinafter. Additionally, it should befurther appreciated that the methods disclosed hereinafter andthroughout this specification are capable of being stored on an articleof manufacture to facilitate transporting and transferring such methodsto an electronic device. The term article of manufacture, as used, isintended to encompass a computer program accessible from anycomputer-readable device, device in conjunction with a carrier, orstorage medium.

FIG. 11 illustrates a flowchart of an example method 1100 for providingimprovements in data readout from an optical sensor, according to one ormore aspects described herein. At 1102, method 1100 can comprisereceiving a command configured for dynamic control of data output froman optical sensor array. The command can be configured for skipping oneor more rows of the optical sensor array, to prevent data output for theone or more skipped rows, in one aspects of the subject disclosure. Inanother aspect, the command can be configured for processing a subset ofrows of the optical sensor array according to a data processingfunction(s). In at least one further aspect, the command can beconfigured for a combination of the foregoing functions.

At 1104, method 1100 can comprise processing the command and identifyinga vertical skipping instruction or a vertical mixing instruction. Themethod can further comprise extracting the dynamic skipping or mixinginstruction or associated instruction values from the command, wheresuitable. At 1106, method 1100 can comprise extracting data from arow(s) selected or identified by a vertical skipping instruction. At1108, method 1100 can comprise processing the extracted data inaccordance with a mixing function referenced by the vertical mixinginstruction.

In at least one aspect, subsequent commands can be executed in a similarfashion as described with respect to reference numbers 1102-1108, tocompile a subset of selected or processed data from the optical sensor.In a particular disclosed aspect, method 1100 can further compriseidentifying an active state of a skipping command, or identifying a gotovalue of a mixing command. In response to the active state beinginactive, method 1100 can return to and execute a prior skippinginstruction. In response to the active state being active, on the otherhand, method 1100 can identify a number of rows for skipping and adirection for the skipping, and output or extract data from a rowidentified or selected by the direction and the number of rows.Likewise, in response to the goto value having a first predefined value,method 1100 can execute a mixing instruction and proceed to a subsequentmixing instruction. In response to the goto value having a secondpredefined value, method 1100 can instead execute the mixing instructionand proceed to a predetermined prior mixing instruction, instead.

At 1110, method 1100 can comprise outputting the extracted and processeddata. This extracted and processed data can be compiled from a singleskipping or mixing instruction, or from a set of skipping or mixinginstructions, before being output at reference number 1110. Theextracted and processed data can be output for display processing, fordata storage, or the like, or a suitable combination thereof.

FIG. 12 depicts a flowchart of an example method 1200 according tofurther aspects of the subject disclosure. Particularly, method 1200 cancomprise a method for assembling, manufacturing or fabricating, etc., adynamic data processing system for an optical sensor array. At 1202,method 1200 can comprise providing a state machine for ordered receipt,storage and execution of data readout or data processing commands. In atleast one aspect, the data readout or data processing commands cancomprise one or more vertical skipping or vertical mixing commandsconfigured to achieve dynamic output of optical sensor array data. At1204, method 1200 can comprise providing a command interface to delivercommands to the state machine. At 1206, method 1200 can compriseproviding a data interface for dynamic and configurable output of datafrom the optical sensor array. Moreover, at 1208, method 1200 cancomprise providing a skipping engine configured to output selected rowsof data of the optical sensor array in accordance with one or skippingcommands, or providing a mixing engine configured to process data outputfrom the optical sensor array in accordance with one or more mixingcommands.

Referring now to FIG. 13, there is illustrated a block diagram of anexemplary digital camera system operable to execute the disclosedarchitecture. In order to provide additional context for various aspectsof the various embodiments, FIG. 13 and the following discussion areintended to provide a brief, general description of a suitableelectronic computing environment 1300 in which the various aspects ofthe various embodiments can be implemented. Additionally, while thevarious embodiments described above may be suitable for application inthe general context of instructions that may run or be executed inconjunction with an electronic device, those skilled in the art willrecognize that the various embodiments also can be implemented incombination with other program modules and/or as a combination ofhardware and software.

Generally, program modules include routines, programs, components, datastructures, etc., that perform particular tasks associated withelectronic computing environment 1300. Moreover, those skilled in theart will appreciate that the inventive methods can be practiced withother electronic system configurations, including hand-held computingdevices, microprocessor-based or programmable consumer electronics,single-processor or multiprocessor state machines, minicomputers, aswell as personal computers, and the like, each of which can beoperatively coupled to one or more associated devices.

The illustrated aspects of the various embodiments may also be practicedin distributed computing environments where certain tasks are performedby remote processing devices that are linked through a wired or wirelesscommunications network. In a distributed computing environment, programmodules can be located in both local and remote memory storage devices.

An electronic processing device typically includes a variety ofcomputer-readable media. Computer-readable media can be any availablemedia that can be accessed by the electronic processing device andincludes both volatile and nonvolatile media, removable andnon-removable media. By way of example, and not limitation,computer-readable media can comprise computer storage media andcommunication media. Computer storage media can include both volatileand nonvolatile, removable and non-removable media implemented in anymethod or technology for storage of information such ascomputer-readable instructions, data structures, program modules orother data. Computer storage media includes, but is not limited to, RAM,ROM, EEPROM, flash memory or other memory technology, or any othermedium which can be used to store the desired information and which canbe accessed by the electronic processing device.

Continuing to reference FIG. 13, the exemplary electronic processingenvironment 1300 for implementing various aspects of one or more of thevarious embodiments includes a digital camera 1302, the digital camera1302 including a system processor 1304, optics 1306, an image sensor1308, an output circuit 1310, a signal processing circuit 1312, a systemmemory 1316 and a system bus 1314. The system bus 1314 couples to systemcomponents including, but not limited to, the system memory 1316 to thesystem processor 1304. The system processor 1304 can be a suitablesemiconductor processing device manufactured for digital camera 1302, orany of various commercially available processors. Dual microprocessorsand other multi-processor architectures may also be employed as thesystem processor 1304.

Optics 1306 can comprise one or more lens elements comprised ofrefractive material. The refractive material can be suitable to refractelectromagnetic radiation, particularly in the visible spectrum, butalso the near infrared or ultraviolet spectra, or other suitablespectra. Particularly, optics 1306 can be configured to project andfocus an image of an object onto image sensor 1308. Optics can also beconfigured with an actuator (not depicted) to mechanically adjust optics1306 to focus objects at varying distances from digital camera 1302.

Image sensor 1308 can comprise any of various sensors for receivingelectromagnetic radiation and generating electric signals proportionateto a magnitude of the electromagnetic radiation. For instance, imagesensor 1308 can comprise a video tube, a charge-coupled device, or aCMOS device, or the like, or an array of such devices. In a particularexample, image sensor 1308 can comprise an array of photodetectors asdescribed herein (e.g., optical sensor array 102, optical sensor array202, etc.). Electric signals generated by image sensor 1308 can betransferred to output circuit 1310, in response to a clock signalgenerated by an electronic clock(s) 1304A managed by system processor1304. The electric signals can then be output to signal processingcircuit 1312 for image processing.

Signal processing circuit 1312 can be any suitable hardware or softwareprocessing entity, including an integrated circuit(s), an applicationspecific integrated circuit(s) (ASIC), a state machine, or othersuitable signal processing device. Signal processing circuit 1312 can beconfigured to perform operations on electric signals provided by outputcircuit 1310. These operations can include correlated double sampling,gamma processing, analog to digital conversion, gain adjustment,interpolation, compression, or a combination thereof or of the like, togenerate digital data to be adapted for presentation on an electronicdisplay 1332 of digital camera 1302. Additionally, signal processingcircuit 1312 can store the digital data in system memory 1316 before,during and after the operations.

The system bus 1314 can be any of several types of bus structuresuitable for communicatively connecting components of digital camera1302. System bus 1314 can further interconnect to a memory bus (with orwithout a memory controller), a peripheral bus, and a local bus usingany of a variety of commercially available bus architectures. The systemmemory 1316 can include read-only memory (ROM) 1320 and random accessmemory (RAM) 1318. A basic input/output system (BIOS) for digital camera1302 can be stored in a non-volatile memory 1320 such as ROM, EPROM,EEPROM, which BIOS contains the basic routines that help to transferinformation between elements within the digital camera 1302, whenpowered on for instance. The RAM 1318 can also include a high-speed RAMsuch as static RAM for caching data. Furthermore, digital camera caninclude removable memory 1322, which can include any suitablenon-volatile memory (e.g., Flash memory), or other removable memorytechnology.

A number of program modules can be stored in the system memory 1316,including an operating system 1324, one or more application programs orprogram modules 1326 and program/data 1328. All or portions of theoperating system, applications, modules, and/or data can also be cachedin the RAM 1318 It is appreciated that the various embodiments can beimplemented with various commercially available or proprietary operatingsystems or combinations of operating systems.

A display 1332 is also connected to the system bus 1314 via aninterface, such as a video adapter 1330. Display 1332 can comprise aflat panel display, such as a liquid crystal display, a light-emittingdiode display, or the like. System processor 1304 can control output ofimage data to present a digital replica of the image received by imagesensor 1308 on display 1332. In addition, digital camera 1302 can outputthe image data to an external display 1334 via a suitable externalinterface 1348.

A user can enter commands and information into the digital camera 1302through one or more input devices, e.g., touch screen buttons, switches,dials, levers, etc. For instance, zoom functionality is oftenimplemented by pressing a button, dial, lever, etc., in one direction tozoom in, or another direction to zoom out. Further, display options,selection of images, and similar display commands can be input via atouch screen, often implemented as part of display 1332. Other inputdevices (not shown) may include a microphone, an IR remote control, ajoystick, a game pad, a stylus pen, or the like. These and other inputdevices are often connected to the system processor 1304 through aninput device interface 1338 that is coupled to the system bus 1314, butcan be connected by other interfaces, such as a parallel port, anIEEE1394 serial port, a game port, a USB port, an IR interface, aBluetooth interface, etc.

The external interface 1348 can include at least one or both ofUniversal Serial Bus (USB) and IEEE1394 interface technologies. Otherexternal connection technologies are within contemplation of the subjectmatter claimed herein. Moreover, external interface 1348 can include awireless technology, such as a Wi-Fi communication technology,Bluetooth™ technology, infrared (IR) technology, cellular technology, orthe like. In addition to an external display, external interface 1348can facilitate communicatively coupling digital camera 1302 to one ormore remote devices 1342. Remote device(s) 1342 can include a computer,a display, a memory or storage device 1344, and so on. Moreover,commands can be given to digital camera 1302 from remote device(s) 1342over external interface 1348 to system processor 1304. This canfacilitate remote control of digital camera 1302, for remote cameraoperation (e.g., taking pictures, adding or deleting pictures fromsystem memory 1316, etc.), transferring data, such as stored digitalimages, updating operation system 1324, applications/program modules1326, or data 1328, and so on.

The digital camera 1302 can be operable to communicate with any wirelessdevices or entities operatively disposed in wireless communication,e.g., a printer, scanner, desktop and/or portable computer, portabledata assistant, communications satellite, any piece of equipment orlocation associated with a wirelessly detectable tag (e.g., a kiosk,news stand, restroom), and telephone. This includes at least Wi-Fi andBluetooth wireless technologies. Thus, the communication can be apredefined structure as with a conventional network or simply an ad hoccommunication between at least two devices.

Wi-Fi, or Wireless Fidelity, allows connection to the Internet fromvarious locations within range of a WiFi access point, without wires.Wi-Fi is a wireless technology similar to that used in a cell phone thatenables such devices, e.g., computers, to send and receive data indoorsand out; within the range of the access point. Wi-Fi networks use radiotechnologies called IEEE802.11 (a, b, g, n, etc.) to provide secure,reliable, fast wireless connectivity. A Wi-Fi network can be used toconnect computers to each other, to the Internet, and to wired networks(which use IEEE802.3 or Ethernet). Wi-Fi networks operate in theunlicensed 2.4 and 5 GHz radio bands, at an 11 Mbps (802.11a) or 54 Mbps(802.11b) data rate, for example, or with products that contain bothbands (dual band), so the networks can provide real-world performancesimilar to the basic 10BaseT wired Ethernet networks used in manyoffices.

What has been described above includes examples of the variousembodiments. It is, of course, not possible to describe everyconceivable combination of components or methods for purposes ofdescribing the embodiments, but one of ordinary skill in the art mayrecognize that many further combinations and permutations are possible.Accordingly, the detailed description is intended to embrace all suchalterations, modifications, and variations that fall within the spiritand scope of the appended claims.

In particular and in regard to the various functions performed by theabove described components, devices, circuits, systems and the like, theterms (including a reference to a “means”) used to describe suchcomponents are intended to correspond, unless otherwise indicated, toany component which performs the specified function of the describedcomponent (e.g., a functional equivalent), even though not structurallyequivalent to the disclosed structure, which performs the function inthe herein illustrated exemplary aspects of the embodiments. In thisregard, it will also be recognized that the embodiments includes asystem as well as a computer-readable medium having computer-executableinstructions for performing the acts and/or events of the variousmethods.

In addition, while a particular feature may have been disclosed withrespect to only one of several implementations, such feature may becombined with one or more other features of the other implementations asmay be desired and advantageous for any given or particular application.Furthermore, to the extent that the terms “includes,” and “including”and variants thereof are used in either the detailed description or theclaims, these terms are intended to be inclusive in a manner similar tothe term “comprising.”

What is claimed is:
 1. A system for reading data from an optical sensorarray, comprising: a command interface for receiving commands configuredfor dynamic output or processing of the data; a processing engine foraccessing and distributing the commands; and a set of data enginesconfigured to execute the commands and to control the dynamic output ofa subset of the data or to perform logic operations on the data inresponse to the commands, and comprising a vertical skipping engineconfigured to select, in response to the processing engine receiving askipping command, a subset of rows of the optical sensor array fromwhich to compile the subset of data, the skipping command comprises adirection instruction associated with a forward value and a reversevalue.
 2. The system of claim 1, further comprising an input interfaceconnected to a readout path of the optical sensor array for receivingthe data.
 3. The system of claim 1, wherein the command interface is aserial to parallel command interface (SPI) for receiving and serializingthe commands; and the system further comprises a set of registers forstoring respective instruction values of the commands, the instructionvalues are output to the processing engine.
 4. The system of claim 1,the skipping command comprises an activation instruction associated withan active value and an inactive value.
 5. The system of claim 4, whereinthe vertical skipping engine is configured to execute the skippingcommand in response to the skipping command containing the active value.6. The system of claim 4, wherein the vertical skipping engine isconfigured to ignore the skipping command in response to the skippingcommand containing the inactive value.
 7. The system of claim 4, whereinthe vertical skipping engine is configured to return to and process aprevious skipping command in response to the skipping command containingthe inactive value.
 8. The system of claim 4, wherein the verticalskipping engine is configured to process the skipping command andproceed to a subsequent skipping command in response to the skippingcommand containing the active value.
 9. The system of claim 1, whereinthe vertical skipping engine is configured to skip forward a specifiednumber of rows in response to the skipping command containing theforward value.
 10. The system of claim 1, wherein the vertical skippingengine is configured to skip backward a number of rows in response tothe skipping command containing the reverse value.
 11. The system ofclaim 1, the skipping command indicates a number of rows to skip inconjunction with selecting a row of the subset of rows.
 12. The systemof claim 1, the set of data engines comprises a vertical mixing engineconfigured to act upon the subset of the data in response to theprocessing engine receiving a mixing command.
 13. The system of claim12, wherein the mixing command incorporates a set of code primitivesconfigured to call a set of line mixing functions to act upon the subsetof the data.
 14. The system of claim 13, wherein the set of line mixingfunctions includes at least one of: a data write operation, a data eraseoperation, a data addition operation, a data averaging operation, a dataoverlap operation, a data pass-through operation, or a data clippingoperation, or a combination thereof.
 15. The system of claim 13, whereinthe mixing command comprises a goto target value that identifies a lineof data for a mixing function to act upon.
 16. The system of claim 13,wherein the mixing command comprises a command value that identifies oneof the set of code primitives for calling one of the set of line mixingfunctions for acting upon an identified line of the subset of the data.17. The system of claim 1, further comprising an output interface foroutputting data from the set of data engines to a display engine fordisplay processing.
 18. The system of claim 1, wherein the verticalskipping engine is further configured to select, in response to theprocessing engine receiving a second skipping command, a second subsetof rows of the optical sensor from which to compile a second subset ofdata, wherein the second subset of data is different from the subset ofdata.
 19. The system of claim 18, the set of data engines furthercomprises a vertical mixing engine configured to, in response to theprocessing engine receiving a mixing command, select at least a portionof the subset of data and at least a second portion of the second subsetof data in conjunction with outputting data from the set of dataengines.
 20. The system of claim 19, the vertical mixing engine isfurther configured to, in response to the processing engine receiving asecond mixing command, select at least a third portion of the subset ofdata or at least a fourth portion of the second subset of data, inconjunction with outputting data from the set of data engines.
 21. Amethod for processing data, comprising: receiving a command configuredfor dynamic control of data output from an optical sensor array;processing the command and extracting a skipping or mixing instructionfrom the command; identifying an active state of the command; executingthe skipping or mixing instruction in conjunction with extracting atleast a subset of the data from the optical sensor array; and returningto a prior skipping instruction in response to the active state beinginactive.
 22. The method of claim 21, further comprising selecting asubset of rows of the optical sensor array for data output in accordancewith the skipping instruction.
 23. The method of claim 21, furthercomprising processing a subset of rows of the data in accordance with amixing function referenced by the mixing instruction.
 24. The method ofclaim 21, further comprising executing the skipping or mixinginstruction to compile the subset of the data.
 25. The method of claim24, further comprising outputting the subset of the data for graphicalprocessing and display.
 26. The method of claim 21, further comprisingidentifying a number of rows for skipping, and identifying a directionfor the skipping in response to the active state being active.
 27. Themethod of claim 21, further comprising receiving a second command,extracting a second skipping instruction from the second command, andexecuting the second skipping instruction in conjunction with extractingat least a second subset of the data from the optical sensor array, thesecond subset of the data being different from the subset of the dataand having more or fewer bits than the subset of the data.
 28. Themethod of claim 27, further comprising employing the mixing instructionto selectively mix at least a portion of the subset of the data with atleast a second portion of the second subset of the data in conjunctionwith outputting selectively mixed data from the optical sensor array.29. A method of providing dynamic data processing for an optical sensorarray, comprising: providing a data interface for dynamic andconfigurable output of data from the optical sensor array; providing atleast one of: a skipping engine configured to output selected rows ofdata in accordance with a skipping command; or a mixing engineconfigured to process data output from the optical sensor array inaccordance with a mixing command; providing an interface for receivingand storing the skipping command or the mixing command; providing astate machine for ordered receipt, storage and execution of skipping ormixing commands by the skipping engine or mixing engine; and providing adata interface to the optical sensor array for dynamic and configurableoutput of data in accordance with execution of the skipping command orthe mixing command.
 30. A non-transitory computer-readable medium havingstored thereon computer-executable instructions that when executed by anelectronic device cause the electronic device to: receive a commandconfigured for dynamic control of data output from an optical sensorarray; process the command and extract a dynamic skipping or mixinginstruction; execute the dynamic skipping or mixing instruction inconjunction with extracting at least a subset of the data from theoptical sensor array; identify the command as being in an active stateor inactive state; and return to a prior skipping instruction inresponse to the command being in the inactive state.